package com.cskaoyan.app.service;

import com.cskaoyan.app.bean.common.BasePageInfo;
import com.cskaoyan.app.bean.common.CommonData;
import com.cskaoyan.app.bean.po.MarketTopic;
import com.cskaoyan.app.bean.vo.AdminTopicReadVO;

import java.util.Map;

public interface AdminTopicService {
    CommonData<MarketTopic> list(BasePageInfo info, String title, String subtitle);

    MarketTopic create(MarketTopic marketTopic);

    AdminTopicReadVO read(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    void delete(MarketTopic marketTopic);

    void batchDelete(Map<String, Integer[]> map);
}
